package com.haoyu.dao;

import com.haoyu.entity.UserInfo;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author: 蒿雨
 * @create: 2022-01-06 17:06
 * @description:
 */
public interface UserinfoDao extends JpaRepository<UserInfo, Long> {
    /**
     * 通过username查找用户信息
     */
    public UserInfo findByUsername(String username);

}
